ns_health_monitor
Configuration for Health Monitor for ADC resource.
Read/write properties
monitor_state<String>
State of monitor possible values UP, DOWN, UNKNOWN, BUSY, OUT OF SERVICE, GOING OUT OF SERVICE, DOWN WHEN GOING OUT OF SERVICE, NS_EMPTY_STR, Unknown, DISABLED.
monstatparam2<Integer>
Second parameter for use with message code.
monitortotalfailedprobes<String>
Total number of failed probes.
monitorcurrentfailedprobes<String>
Total number of currently failed probes.
monstatparam1<Integer>
First parameter for use with message code.
monitortotalprobes<String>
Total number of probes sent to monitor this service..
monstatcode<Integer>
The code indicating the monitor response.
monstatparam3<Integer>
Third parameter for use with message code.
svc_grp_name<String>
The NetScaler Console.
ns_ip_address<String>
NetScaler IP Address.
Minimum length = 1
Maximum length = 64
svc_name<String>
service name monitor associated with.
monitor_name<String>
Name of the monitor.
lastresponse<String>
The string form of monstatcode.
responsetime<String>
Response time of this monitor.
Read only properties
partition_name<String>
Partition Name.
poll_time<Integer>
Last Polling Time.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/ns_health_monitor
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/ns_health_monitor?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of ns_health_monitor resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/ns_health_monitor?pagesize=#no&pageno=#no
Use this query-parameter to get the ns_health_monitor resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/ns_health_monitor?count=yes
Use this query-parameter to get the count of ns_health_monitor resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_health_monitor":[{
"monitor_state":<String_value>,
"monstatparam2":<Integer_value>,
"monitortotalfailedprobes":<String_value>,
"monitorcurrentfailedprobes":<String_value>,
"monstatparam1":<Integer_value>,
"monitortotalprobes":<String_value>,
"monstatcode":<Integer_value>,
"monstatparam3":<Integer_value>,
"partition_name":<String_value>,
"svc_grp_name":<String_value>,
"ns_ip_address":<String_value>,
"svc_name":<String_value>,
"monitor_name":<String_value>,
"lastresponse":<String_value>,
"poll_time":<Integer_value>,
"responsetime":<String_value>}]}